
import 'package:get/get.dart';
import 'package:wechat_manager/network/network_helper.dart';

class MaterialController extends GetxController {

  @override
  void onReady() {
    getBatchMaterial();
  }

  void getBatchMaterial() {
    var param = {
      "type": "news",
      "offset": 21,
      "count": 20
    };
    NetworkHelper.INSTANCE.materialService.getBatchMaterial(param).then((res) {

    });
  }
}